package com.study.mike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.mike.model.dto.PageDTO;
import com.study.mike.model.entity.MagicalLandDO;
import com.study.mike.model.po.DeleteMagicalPO;
import com.study.mike.model.po.MagicalLandPO;
import com.study.mike.model.po.MagicalQueryPO;

/**
 * @author KangHui
 * @Date 2022/12/23 16:26
 */
public interface MagicalLandService extends IService<MagicalLandDO> {

    /**
     * 新增
     *
     * @param magicalLandPO
     * @return
     */
    Boolean addMagical(MagicalLandPO magicalLandPO);

    /**
     * 编辑数据
     *
     * @param po
     * @return
     */
    Boolean updateMagical(MagicalLandPO po);

    /**
     * 分页查询
     *
     * @param po
     * @return
     */
    PageDTO<MagicalLandDO> queryMagical(MagicalQueryPO po);

    /**
     * 批量删除
     *
     * @param po
     * @return
     */
    Boolean deleteMagicalBatch(DeleteMagicalPO po);

    /**
     * magicalLand 数据导出
     *
     * @param po
     * @return
     */
    Boolean exportMagicLand(MagicalQueryPO po);


    /**
     * magicalLand 导入
     *
     * @return
     */
    Boolean importMagicLand();
}
